<template>
  <div class="cell" @click="$emit('cellClick')">
    <img :src="src" class="icon24 icon"/>
    <div class="text-box"><span class="text">{{text}}</span></div>
    <img src="../../static/img/m/me_arrows.png" class="icon16"/>
  </div>
</template>
<script>
  export default {
    props: {
      src: {
        type: String,
        required: true,
      },
      text: {
        type: String,
        default: ''
      }
    },
  }
</script>
<style scoped>
  .container {
  }

  .cell {
    background-color: white;
    min-height: 54px;
    display: flex;
    flex-direction: row;
    align-items: center;

    padding-left: 16px;
    padding-right: 16px;
  }

  .icon {
    padding-right: 12px;
    padding-left: 4px;
  }

  .text-box {
    display: flex;
    align-items: center;
  }

  .text {
    flex-grow: 1;
    font-size: 16px;
    letter-spacing: 0;
    color: #333333;
    font-weight: bold;
  }

</style>
